import { App } from "vue";
import { $loading } from "./loading";
import { $alert, $confirm, $singleMsg } from "./message";

export default {
  install: (app: App) => {
    app.config.globalProperties.$singleMsg = $singleMsg;
    app.config.globalProperties.$confirm = $confirm;
    app.config.globalProperties.$alert = $alert;
    app.config.globalProperties.$loading = $loading;
  },
};
